<?php

namespace app\api\model;

use think\Model;
use traits\model\SoftDelete;

class BabyType extends Model
{
    //
    //
    use SoftDelete;
    protected $table = "tpshop_baby_type";
    protected $delete_time = 'delete_time';

    public function appTypes()
    {
        # code...
        return $this->hasMany('babyType','uid','id');

    }
}

